package com.td.module.system.controller.admin.growth.vo.list;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
* 生长模型列 Base VO，提供给添加、修改、详细的子 VO 使用
* 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
*/
@Data
public class GrowthModuleListBaseVO {

    @ApiModelProperty(value = "模型排序", required = true)
    @NotNull(message = "模型排序不能为空")
    private Integer sort;

    @ApiModelProperty(value = "模型标签", required = true)
    @NotNull(message = "模型标签不能为空")
    private String label;

    @ApiModelProperty(value = "模型键值", required = true)
    @NotNull(message = "模型键值不能为空")
    private String value;

    @ApiModelProperty(value = "种植标准", required = true, example = "1")
    @NotNull(message = "种植标准不能为空")
    private Integer plantingStandardType;

    @ApiModelProperty(value = "种植环境", required = true, example = "1")
    @NotNull(message = "种植环境不能为空")
    private Integer plantingEnvironmentType;

    @ApiModelProperty(value = "模型类型", required = true, example = "1")
    @NotNull(message = "模型类型不能为空")
    private String growthType;

    @ApiModelProperty(value = "状态（0正常 1停用）", required = true, example = "2")
    @NotNull(message = "状态（0正常 1停用）不能为空")
    private Byte status;

    @ApiModelProperty(value = "颜色类型", example = "1")
    private String colorType;

    @ApiModelProperty(value = "备注", example = "你猜")
    private String remark;

}
